<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<base href="<?php echo base_url().'templates/'; ?>" />
<title><?php echo $siteSetings["site_name"]?><?php echo $current_title;?></title>
<meta content="<?php echo $siteSetings["site_keyword"]?>" name="keywords" />
<meta content="<?php echo $siteSetings["site_description"]?>" name="description" />
<link  type="text/css" rel="Stylesheet" href="css/style.css"/>
<link  type="text/css" rel="Stylesheet" href="css/default.css"/>
<link  type="text/css" rel="Stylesheet" href="css/line.css"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/alertwindow.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="js/line.js"></script>
<script type="text/javascript" src="js/citymenu.js"></script>
<link rel="shortcut icon" href="favicon.ico"/>
</head>
<body>
<!--头部开始-->
<div class="topNav">
    <ul class="topNavText">
        <li id="headlogin" class="logins" onKeyUp="if(event.keyCode==13)AjaxLogin();"></li>
        <li class="topNavs">帮助中心 |<!-- <a href="javascript:void(0)" onClick="ShowWindow('FeedBackmessWindow','FeedBackpromptWindow','/');">用户反馈</a> -->用户反馈 | <a onclick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo site_url();?>');"  style="CURSOR: hand">设为首页</a> | <a href="javascript:window.external.AddFavorite('<?php echo site_url();?>','<?php echo $siteSetings["site_name"]?>')">加入收藏</a> </li>
    </ul>
</div>
<div class="headMain">
    <div class="headerLogo"><a href="<?php echo site_url();?>" title="<?php echo $siteSetings["site_name"]?>"><img src="img/logo.png"></a></div>
    <ul class="headerCity"><li class="name" style="padding-left:25px;">旅游预订电话</li><li class="tel">0591-83837886</li></ul>
    <div class="headerSearch">
      <ul class="infoNav">
            <li onClick="qh(this,'yes','','search');" id="qh_search_0" class="yes">线路</li>
            <li onClick="qh(this,'yes','','search');" id="qh_search_1">租车</li>
            <li onClick="qh(this,'yes','','search');" id="qh_search_2">攻略</li>
            <li onClick="qh(this,'yes','','search');" id="qh_search_3">签证</li>
        </ul>	
<div id="cse-search-form" style="width: 100%;">Loading</div>
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript"> 
  google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.V2_DEFAULT});
  google.setOnLoadCallback(function() {
    var customSearchOptions = {};  var customSearchControl = new google.search.CustomSearchControl(
      '010724409906517493836:0jobn2oqvy4', customSearchOptions);
    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    var options = new google.search.DrawOptions();
    options.setAutoComplete(true);
    customSearchControl.setAutoCompletionId('010724409906517493836:0jobn2oqvy4+qptype:1');
    options.enableSearchboxOnly("<?php echo site_url();?>/google_search/index/");
    customSearchControl.draw('cse-search-form', options);
  }, true);
</script>


<!--        <ul class="infoNav">
            <li onClick="qh(this,'yes','','search');" id="qh_search_0" class="yes">线路</li>
            <li onClick="qh(this,'yes','','search');" id="qh_search_1">酒店</li>
            <li onClick="qh(this,'yes','','search');" id="qh_search_2">景点</li>
            <li onClick="qh(this,'yes','','search');" id="qh_search_3">新闻</li>
        </ul>
      <div id="qh_container_search_0" class="text" onKeyUp="if(event.keyCode==13)LSearch();">
		  <select id="ltid" name="ltid">
			<option value="0">请选择</option>
			<option value="1" url="/around.html">周边旅游</option>
			<option value="2" url="/domestic.html">国内旅游</option>
			<option value="3" url="/abroad.html">出境旅游</option>
			<option value="5" url="/package.html">自由行</option>
			<option value="4" url="/team.html">团队旅游</option>
		  </select>		
		  <input type="text" class="inpuTit" id="lkey" name="lkey" style="width:216px" value="请输入旅游线路搜索..." default="请输入旅游线路搜索..." onFocus="this.value='';this.onfocus='';"/>
		  <input type="button" id="LineSearch" value=" " class="inpuOk" url="/content_search/search" onClick="LSearch();" />
		  <script language="javascript">
		  function LSearch(){
		  	if($('#ltid').val()!=0&&($('#lkey').val()==$('#lkey').attr('default')||$('#lkey').val()=='')){location=$('#ltid>option:selected').attr('url');}else{Search($('#LineSearch'),'tid=ltid,key=lkey');}return false;
		  }
		  </script>
	  
	  </div>
      <div id="qh_container_search_1" class="text" style="display:none" onKeyUp="if(event.keyCode==13)Search($('#HotelSearch'),'key=hkey');">
		  <input type="text" class="inpuTit" id="hkey" name="hkey" value="请输入酒店名称搜索..." default="请输入酒店名称搜索..." onFocus="this.value='';this.onfocus='';" /> 
		  <input type="button" id="HotelSearch" value=" " class="inpuOk" url="/hotel/list/0-0-0.html" onClick="Search(this,'key=hkey');" />
	  </div>
      <div id="qh_container_search_2" class="text" style="display:none" onKeyUp="if(event.keyCode==13)Search($('#ScenerySearch'),'key=skey');">
		  <select id="stid" name="stid">
			<option value="0">请选择</option>
			<option value="16">滑雪</option>
			<option value="17">休闲</option>
			<option value="69">文化</option>
			<option value="70">登山</option>
			<option value="71">探险</option>
			<option value="72">温泉</option>
			<option value="73">演出</option>
			<option value="74">摄影</option>
			<option value="75">生态旅游</option>
			<option value="76">户外拓展</option>
			<option value="77">园林</option>
			<option value="78">古镇</option>
			<option value="79">农家乐</option>
			<option value="80">森林公园</option>
			<option value="81">海滨海岛</option>
			<option value="82">主题乐园</option>
			<option value="83">古迹</option>
			<option value="84">避暑</option>
			<option value="85">游船</option>
			<option value="86">水乡</option>
			<option value="87">漂流</option>
		  </select>		
		  <input type="text" class="inpuTit" id="skey" name="skey" style="width:216px" value="请输入景点名称搜索..." default="请输入景点名称搜索..." onFocus="this.value='';this.onfocus='';" /> 
		  <input type="button" id="ScenerySearch" value=" " class="inpuOk" url="/content_search/search" onClick="Search(this,'stid,key=skey');" />
	  </div>
      <div id="qh_container_search_3" class="text" style="display:none" onKeyUp="if(event.keyCode==13)Search($('#NewsSearch'),'key=nkey');">
		  <input type="text" class="inpuTit" id="nkey" name="nkey" value="请输入关键词搜索..." default="搜索..." onFocus="this.value='';this.onfocus='';" /> 
		  <input type="button" id="NewsSearch" value=" " class="inpuOk" url="/content_search/search" onClick="Search(this,'key=nkey');" />
	  </div>-->
    </div>
</div>
<script language="javascript">
function headloginshow()
{
	if(GetCookie('username')=='')
	{
		$('#headlogin').html('<font color="#A74B00">您好，欢迎光<?php echo $siteSetings["site_name"]?>！</font> ');
	}else{
	//	$('#headlogin').html('您好，<font color="#A74B00">'+GetCookie('username')+'</font>，欢迎光临TourEx旅游网！ <a href="/UserCenter/">我的会员中心</a> | <a href="/usercenter/UserSMS.html">短信</a> | <a href="/usercenter/Login.html?act=out">退出</a>');
	}
}
$(function(){headloginshow();});
/*function AjaxLogin()
{
	var UN=$.trim($('#UserName').val());var UP=$.trim($('#UserPass').val());if(UN==''){ $('#UserName').focus();return false;}if(UP==''){ $('#UserPass').focus();return false;}$.get('/sys/ajax/login.ashx',{'U_Name':UN,'U_Pass':UP},function(msg){if(msg!='0'){alert(msg);}else{headloginshow();}});
}*/
function OutLogin(){ $.get('/sys/ajax/login.ashx',{act:"out"},function(){headloginshow();});}
</script>
<div class="headNav">
    <div class="icoNews"><img src="img/new.gif" /></div>
    <div class="headNavL"></div>
    <div class="headNavSub">
	<a href="<?php echo site_url();?>" id="index" class="yes">首页</a>
<?php 
	//循环线路分类
		$j=1;
		foreach($lineclass['parentid'][0] as $key=>$value){	//筛选数组parentid为0的结果
?>	
			
	<a href="<?php echo site_url();?>/main/category_list/<?php echo $key?>" id="line_<?php echo $key;?>"><?php echo $lineclass['parentid'][0][$key]?></a>		
			
<?php 		
			$j++;
		}//外部循环
?>	
<?php 
	//循环租车分类
		$j=1;
		foreach($carclass['parentid'][0] as $key=>$value){	//筛选数组parentid为0的结果
?>	
			
	<a href="<?php echo site_url();?>/car_cate/car_catelist/<?php echo $key?>" id="car_<?php echo $key;?>"><?php echo $carclass['parentid'][0][$key]?></a>		
			
<?php 		
			$j++;
		}//外部循环
?>	
<?php 
		//循环新闻分类
		$j=1;
		foreach($newsclass['parentid'][0] as $key=>$value){	//筛选数组parentid为0的结果
?>	
			
	<a href="<?php echo site_url();?>/news_cate/sub_newsclass/<?php echo $key?>" id="news_<?php echo $key;?>"><?php echo $newsclass['parentid'][0][$key]?></a>		
			
<?php 		
			$j++;
		}//外部循环
?>			
<!-- 	<a href="/around.html" id="line_1">周边旅游</a>
	<a href="/domestic.html" id="line_2">国内旅游</a>
	<a href="/abroad.html" id="line_3">出境旅游</a>
	<a href="/package.html" id="line_5">自由行</a>
	<a href="/team.html" id="line_4">团队旅游</a>
	<a href="/hotel/" id="hotel">酒店宾馆</a>
	<a href="/scenery/" id="scenery">景点门票</a>
	<a href="/news/" id="news">新闻资讯</a>
    <a href="/map/" id="map">电子地图</a>
    <a href="/bbs" target="_blank">论坛</a> -->
    </div>
    <div class="headNavR"></div>
</div>
<div class="headNavEnd"></div>
<div class="box" style="padding-bottom:10px;"><a href="<?php echo site_url();?>" target="_blank"><img src="img/20120110192230126819.gif" width="960" height="70" /></a></div>
<!--头部结束-->
